package com.bigchui.DesignPattern.Singleton;

import com.bigchui.DesignPattern.Singleton.register.EnumSingleton;

/**
 * Created by wangzhen on 2019/3/10.
 */
public class ExecuteThread implements Runnable {
    @Override
    public void run() {
//        Object o= ContinerSingleton.getInstance("com.bigchui.DesignPattern.Singleton.ContinerObject");\
        EnumSingleton o=EnumSingleton.getInstance();
        System.out.println(Thread.currentThread().getName()+":"+o);
    }
}
